FROM registry.qiaofangyun.com/basetemplate/java_1.8_base:latest
RUN mkdir /app
RUN mkdir -p /home/logs/logback/qf-housewarehouse
RUN chmod 777 /home/logs/logback/qf-housewarehouse
ADD qf-housewarehouse-facade.jar /app/housewarehouse.jar
ADD runboot.sh /app/
RUN bash -c 'touch /app/housewarehouse.jar'
WORKDIR /app
RUN chmod a+x runboot.sh
CMD /app/runboot.sh